home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
Libraries
/
Dots & Pixels
/
sources
/
dotcollection.cp
< prev
next >
Wrap
Text File
|
1995-09-29
|
569b
|
34 lines
#include <Retrace.h>
#include <Devices.h>
#include <SegLoad.h>
#include <Timer.h>
#include <math.h>
#include <iostream.h>
#include "C_randomizer.h"
#include "flowsettings.h"
#include "vretrace.h"
#include "phaser.h"
#include "dotcollection.h"
dotcollection::dotcollection( int aantaldots)
{
numdots = aantaldots;
xcoords = new short[ numdots];
ycoords = new short[ numdots];
for( int i = 0; i < numdots; i++)
{
xcoords[ i] = randomizer_step();
ycoords[ i] = randomizer_step();
}
}
dotcollection::~dotcollection()
{
delete xcoords;
delete ycoords;
}